/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.enterprise.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.modules.enterprise.entity.PolicyFile;
import org.springblade.modules.enterprise.entity.PolicyInfo;

import java.util.List;

/**
 * 视图实体类
 *
 * @author BladeX
 * @since 2021-08-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PolicyInfoVO对象", description = "PolicyInfoVO对象")
public class PolicyInfoVO extends PolicyInfo {
	private static final long serialVersionUID = 1L;

	/**
	 * 当前登录用户的政务网账号
	 */
	@ApiModelProperty("当前登录用户的政务网账号")
	private String account;

	/**
	 * 政策剩余时间
	 */
	@ApiModelProperty("政策剩余时间")
	private Long excessTime;

	/**
	 * 文件列表
	 */
	@ApiModelProperty("文件列表")
	private List<PolicyFile> files;

	/**
	 * 当前用户最新申请政策状态
	 */
	@ApiModelProperty("当前用户最新申请政策状态")
	private Integer policyApplyStatus;
}
